package org.spring.autoType.utils;

/**
 * @author LHB
 * @date 2019/12/24 10:33
 */
public enum TypeEnum {
    TEXT(1, "文本"),
    IMAGE(2, "图片"),
    VIDEO(3, "视频");


    private final String name;
    private final int code;

    TypeEnum(int code, String name) {
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public int getCode() {
        return code;
    }
}
